import { CreateOpsWebApp } from '@/utils/fetch';

const request = CreateOpsWebApp();

export const login = async (params) => {
  return request.post('/login/login', params);
};

export const getUserInfo = async (params) => {
  return request.post('/login/getUserInfo');
};

export const logoutApi = async (params) => {
  return request.post('/login/logout', params);
};

export default {};
